package vaccine.appointment.system.vaccinationsite.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 接种点实体类
 */
@Data
@TableName("vaccination_site")
public class VaccinationSite {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 接种点名称
     */
    @TableField("name")
    private String name;

    /**
     * 接种点地址
     */
    @TableField("address")
    private String address;

    /**
     * 联系电话
     */
    @TableField("phone_num")
    private String phoneNum;

    /**
     * 逻辑删除标识符
     * 0--没有删除
     * 1--已删除
     */
    @TableLogic
    @TableField("del_flg")
    private Integer delFlg;
}
